<?php
	require_once('classes/School.php');
	require_once('classes/ReportableWrapper.php');
	require_once('classes/XMLReporter.php');
	$needle = isset($_REQUEST['needle'])?$_REQUEST['needle']:"";
	$schools = new reportableWrapper(School::findByParital($needle), 'schools');
	$xml = new XMLReporter();
	echo($schools->report($xml));
?>